import Vue from 'vue'
import Vuex from 'vuex'

import moduleCart from './m_cart.js'
import moduleUser from './m_user.js'

Vue.use(Vuex)

let store = new Vuex.Store({
  modules: {
    // 购物车
    m_cart: moduleCart,
    // 用户信息
    m_user: moduleUser
  }
})

export default store
